package com.xyu.common.constant;

public class   WareConstant {

    public enum  Purchase{
       CREATED(0,"新建"),ASSIGEND(1,"已分配"),
       RECEIVED(2,"已领取"),FINSHED(3,"已完成"),
       HASERROR(4,"有异常");

       private Integer Code;
       private String message;

        Purchase(Integer code, String message) {
            Code = code;
            this.message = message;
        }

        public Integer getCode() {
            return Code;
        }

        public void setCode(Integer code) {
            Code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }
    public enum  PurchaseDetail{
        CREATED(0,"新建"),ASSIGEND(1,"已分配"),
        BUYING(2,"正在采购"),FINSHED(3,"已完成"),
        HASERROR(4,"采购失败");

        private Integer Code;
        private String message;

        PurchaseDetail(Integer code, String message) {
            Code = code;
            this.message = message;
        }

        public Integer getCode() {
            return Code;
        }

        public void setCode(Integer code) {
            Code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }

}
